#include "Random.h"

#include <cstdlib>
#include <ctime>

Random::Random(void){}

Random::~Random(void){}

void Random::initialize()
{
	srand(static_cast<unsigned>(time(0)));
}

int Random::getRandomInt(int lowest, int highest)
{
	return std::rand() % highest + lowest;
}

float Random::getRandomFloat(float lowest, float highest)
{
	return ((float)rand() / (float)RAND_MAX) * highest + lowest;
}


